package com.qdu.mapper;

import com.qdu.entity.Replyinfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ReplyinfoMapper {
    int deleteByPrimaryKey(String rid);

    int insert(Replyinfo record);

    int insertSelective(Replyinfo record);

    Replyinfo selectByPrimaryKey(String rid);

    List<Replyinfo> selectByCid(String cid);

    List<Replyinfo> selectByPid(String Pid);

    List<Replyinfo> selectByUid(String uid);

    int updateByPrimaryKeySelective(Replyinfo record);

    int updateByPrimaryKey(Replyinfo record);
}